﻿<%@ Page Language="C#" AutoEventWireup="true" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>SMIL-Click</title>
    <style type="text/css">
    html, body {
	    height: 100%;
	    overflow: auto;
    }
    body {
	    padding: 0;
	    margin: 0;
    }
    #silverlightControlHost {
	    height: 100%;
	    text-align:center;
    }
    </style>
    <script type="text/javascript" src="SMIL.js"></script>
    <script type="text/javascript" src="Silverlight.js"></script>
    <script type="text/javascript">
        function onSilverlightError(sender, args) {
            var appSource = "";
            if (sender != null && sender != 0) {
              appSource = sender.getHost().Source;
            }
            
            var errorType = args.ErrorType;
            var iErrorCode = args.ErrorCode;

            if (errorType == "ImageError" || errorType == "MediaError") {
              return;
            }

            var errMsg = "Unhandled Error in Silverlight Application " +  appSource + "\n" ;

            errMsg += "Code: "+ iErrorCode + "    \n";
            errMsg += "Category: " + errorType + "       \n";
            errMsg += "Message: " + args.ErrorMessage + "     \n";

            if (errorType == "ParserError") {
                errMsg += "File: " + args.xamlFile + "     \n";
                errMsg += "Line: " + args.lineNumber + "     \n";
                errMsg += "Position: " + args.charPosition + "     \n";
            }
            else if (errorType == "RuntimeError") {           
                if (args.lineNumber != 0) {
                    errMsg += "Line: " + args.lineNumber + "     \n";
                    errMsg += "Position: " +  args.charPosition + "     \n";
                }
                errMsg += "MethodName: " + args.methodName + "     \n";
            }

            throw new Error(errMsg);
        }
    </script>
</head>
<body>
    <form id="form1" runat="server" style="height:100%">
	    
    <span style="visibility:visible;">
        <span id="ctl00_m_g_554d7149_4d9f_4a96_a3f4_aa5936baef7b_ctl00_ctl04_ctl01_ctl00_ctl00_ctl04_ctl00_ctl00_lCoordinate"></span>
        <<%--input name="ctl00$m$g_554d7149_4d9f_4a96_a3f4_aa5936baef7b$ctl00$ctl04$ctl01$ctl00$ctl00$ctl04$ctl00$ctl00$TextField" type="text" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?>&lt;StyledGeometrys>&lt;StyledGeometry>&lt;Style id=&quot;default&quot;>&lt;IconStyle>&lt;scale>1&lt;/scale>&lt;Icon>&lt;href>http://localhost/_layouts/images/SMIL/pin.png&lt;/href>&lt;/Icon>&lt;/IconStyle>&lt;LineStyle>&lt;color>FFFF0000&lt;/color>&lt;width>6&lt;/width>&lt;/LineStyle>&lt;PolyStyle>&lt;color>CC0000FF&lt;/color>&lt;fill>1&lt;/fill>&lt;outline>1&lt;/outline>&lt;LineStyle>&lt;color>FFFF0000&lt;/color>&lt;width>2&lt;/width>&lt;/LineStyle>&lt;/PolyStyle>&lt;/Style>&lt;Geometry>POINT(13.63513775778506 62.514430080704251)&lt;/Geometry>&lt;/StyledGeometry>&lt;StyledGeometry>&lt;Style id=&quot;default&quot;>&lt;IconStyle>&lt;scale>1&lt;/scale>&lt;Icon>&lt;href>/_layouts/images/SMIL/pin.png&lt;/href>&lt;/Icon>&lt;/IconStyle>&lt;LineStyle>&lt;color>FFFF0000&lt;/color>&lt;width>6&lt;/width>&lt;/LineStyle>&lt;PolyStyle>&lt;color>CC0000FF&lt;/color>&lt;fill>1&lt;/fill>&lt;outline>1&lt;/outline>&lt;LineStyle>&lt;color>FFFF0000&lt;/color>&lt;width>2&lt;/width>&lt;/LineStyle>&lt;/PolyStyle>&lt;/Style>&lt;Geometry>POLYGON((13.763636564007811 62.551467101306571,13.711451505414061 62.490635033022521,13.760889981976561 62.485560086976477,13.884486173382811 62.524868351061677,13.868006681195311 62.557796635733695,13.763636564007811 62.551467101306571))&lt;/Geometry>&lt;/StyledGeometry>&lt;StyledGeometry>&lt;Style id=&quot;default&quot;>&lt;IconStyle>&lt;scale>1&lt;/scale>&lt;Icon>&lt;href>&lt;/href>&lt;/Icon>&lt;/IconStyle>&lt;LineStyle>&lt;color>FFFF0000&lt;/color>&lt;width>6&lt;/width>&lt;/LineStyle>&lt;PolyStyle>&lt;color>CC0000FF&lt;/color>&lt;fill>1&lt;/fill>&lt;outline>1&lt;/outline>&lt;LineStyle>&lt;color>FFFF0000&lt;/color>&lt;width>2&lt;/width>&lt;/LineStyle>&lt;/PolyStyle>&lt;/Style>&lt;Geometry>LINESTRING(13.688105558148436 62.564124823921645,13.660639737835936 62.558429515129788,13.653773282757811 62.551467101306571,13.692225431195311 62.53880399289833,13.670252774945311 62.526135497024114,13.678492521039061 62.522967531068,13.674372647992186 62.511560064342987,13.699091886273436 62.50078233618818)&lt;/Geometry>&lt;/StyledGeometry>&lt;StyledGeometry>&lt;Style id=&quot;default&quot;>&lt;IconStyle>&lt;scale>1&lt;/scale>&lt;Icon>&lt;href>&lt;/href>&lt;/Icon>&lt;/IconStyle>&lt;LineStyle>&lt;color>FFFF0000&lt;/color>&lt;width>6&lt;/width>&lt;/LineStyle>&lt;PolyStyle>&lt;color>CC0000FF&lt;/color>&lt;fill>1&lt;/fill>&lt;outline>1&lt;/outline>&lt;LineStyle>&lt;color>FFFF0000&lt;/color>&lt;width>2&lt;/width>&lt;/LineStyle>&lt;/PolyStyle>&lt;/Style>&lt;Geometry>LINESTRING(13.808955167523436 62.590056325008433,13.785609220257811 62.586895157770883,13.771876310101561 62.576144673338945,13.818568204632811 62.572982026101208,13.826807950726561 62.563492065677636,13.876246427289061 62.5666557222967,13.872126554242186 62.559062381063718,13.891352628460936 62.554632036813089,13.896845792523436 62.535637374070049,13.910578702679686 62.530570083508991,13.910578702679686 62.518531812820143,13.774622892132811 62.474138302434412,13.708704923382811 62.476042236683078,13.703211759320311 62.491903634684355,13.721064542523436 62.541337045523733,13.721064542523436 62.55716374287519,13.712824796429686 62.570451666079578,13.756770108929686 62.587527418123088,13.802088712445311 62.591952863928611)&lt;/Geometry>&lt;/StyledGeometry>&lt;StyledGeometry>&lt;Style id=&quot;default&quot;>&lt;IconStyle>&lt;scale>1&lt;/scale>&lt;Icon>&lt;href>&lt;/href>&lt;/Icon>&lt;/IconStyle>&lt;LineStyle>&lt;color>FFFF0000&lt;/color>&lt;width>6&lt;/width>&lt;/LineStyle>&lt;PolyStyle>&lt;color>CC0000FF&lt;/color>&lt;fill>1&lt;/fill>&lt;outline>1&lt;/outline>&lt;LineStyle>&lt;color>FFFF0000&lt;/color>&lt;width>2&lt;/width>&lt;/LineStyle>&lt;/PolyStyle>&lt;/Style>&lt;Geometry>LINESTRING(13.763636564007811 62.485560086976477,13.763636564007811 62.485560086976477)&lt;/Geometry>&lt;/StyledGeometry>&lt;StyledGeometry>&lt;Style id=&quot;default&quot;>&lt;IconStyle>&lt;scale>1&lt;/scale>&lt;Icon>&lt;href>/_layouts/images/SMIL/pin.png&lt;/href>&lt;/Icon>&lt;/IconStyle>&lt;LineStyle>&lt;color>FFFF0000&lt;/color>&lt;width>6&lt;/width>&lt;/LineStyle>&lt;PolyStyle>&lt;color>CC0000FF&lt;/color>&lt;fill>1&lt;/fill>&lt;outline>1&lt;/outline>&lt;LineStyle>&lt;color>FFFF0000&lt;/color>&lt;width>2&lt;/width>&lt;/LineStyle>&lt;/PolyStyle>&lt;/Style>&lt;Geometry>POLYGON((13.511932937263623 62.565073936049629,13.396576491951123 62.546085938406762,13.577850906013623 62.534687322757918,13.597076980232373 62.60680489758068,13.511932937263623 62.565073936049629))&lt;/Geometry>&lt;/StyledGeometry>&lt;/StyledGeometrys>" id="ctl00_m_g_554d7149_4d9f_4a96_a3f4_aa5936baef7b_ctl00_ctl04_ctl01_ctl00_ctl00_ctl04_ctl00_ctl00_TextField" title="plats" class="ms-long" />--%>
        <input name="ctl00$m$g_554d7149_4d9f_4a96_a3f4_aa5936baef7b$ctl00$ctl04$ctl01$ctl00$ctl00$ctl04$ctl00$ctl00$TextField" type="text" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?>&lt;StyledGeometrys>&lt;StyledGeometry>&lt;Style id=&quot;default&quot;>&lt;IconStyle>&lt;scale>2&lt;/scale>&lt;Icon>&lt;href>http://rkli-5b01bac269/_layouts/images/SMIL/pin.png&lt;/href>&lt;/Icon>&lt;/IconStyle>&lt;LineStyle>&lt;color>FFFF0000&lt;/color>&lt;width>2&lt;/width>&lt;/LineStyle>&lt;PolyStyle>&lt;color>CC0000FF&lt;/color>&lt;fill>1&lt;/fill>&lt;outline>1&lt;/outline>&lt;LineStyle>&lt;color>FFFF0000&lt;/color>&lt;width>2&lt;/width>&lt;/LineStyle>&lt;/PolyStyle>&lt;/Style>&lt;Geometry>POINT(13.5092306781445 63.7002761002962)&lt;/Geometry>&lt;/StyledGeometry>&lt;/StyledGeometrys>" id="ctl00_m_g_554d7149_4d9f_4a96_a3f4_aa5936baef7b_ctl00_ctl04_ctl01_ctl00_ctl00_ctl04_ctl00_ctl00_TextField" title="Geometri" class="ms-long" />
        <input name="ctl00$m$g_554d7149_4d9f_4a96_a3f4_aa5936baef7b$ctl00$ctl04$ctl01$ctl00$ctl00$ctl04$ctl00$ctl00$lSCAStatus" type="text" id="ctl00_m_g_554d7149_4d9f_4a96_a3f4_aa5936baef7b_ctl00_ctl04_ctl01_ctl00_ctl00_ctl04_ctl00_ctl00_lSCAStatus" />
        <input name="ctl00$m$g_554d7149_4d9f_4a96_a3f4_aa5936baef7b$ctl00$ctl04$ctl01$ctl00$ctl00$ctl04$ctl00$ctl00$lSMILSite" type="text" value="http://localhost" id="ctl00_m_g_554d7149_4d9f_4a96_a3f4_aa5936baef7b_ctl00_ctl04_ctl01_ctl00_ctl00_ctl04_ctl00_ctl00_lSMILSite" />
        <input name="ctl00$m$g_554d7149_4d9f_4a96_a3f4_aa5936baef7b$ctl00$ctl04$ctl01$ctl00$ctl00$ctl04$ctl00$ctl00$lDocumentLibrary" type="text" value="{636942ee-9b2e-47c9-ac7a-6279655c939b}" id="ctl00_m_g_554d7149_4d9f_4a96_a3f4_aa5936baef7b_ctl00_ctl04_ctl01_ctl00_ctl00_ctl04_ctl00_ctl00_lDocumentLibrary" />
       <input name="ctl00$m$g_554d7149_4d9f_4a96_a3f4_aa5936baef7b$ctl00$ctl04$ctl01$ctl00$ctl00$ctl04$ctl00$ctl00$lItemID" type="text" value="9" id="ctl00_m_g_554d7149_4d9f_4a96_a3f4_aa5936baef7b_ctl00_ctl04_ctl01_ctl00_ctl00_ctl04_ctl00_ctl00_lItemID" />
       <input name="ctl00$m$g_554d7149_4d9f_4a96_a3f4_aa5936baef7b$ctl00$ctl04$ctl01$ctl00$ctl00$ctl04$ctl00$ctl00$lBingKey" type="text" value="AtdwAaBSnuace6JXHBTvVptnkPHfkrovH-OKVwNm4xYpokb3wAcuSDqHSxtuIgDO" id="ctl00_m_g_554d7149_4d9f_4a96_a3f4_aa5936baef7b_ctl00_ctl04_ctl01_ctl00_ctl00_ctl04_ctl00_ctl00_lBingKey" />
       <input name="ctl00$m$g_554d7149_4d9f_4a96_a3f4_aa5936baef7b$ctl00$ctl04$ctl01$ctl00$ctl00$ctl04$ctl00$ctl00$lThisList" type="text" value="Vindkraftpark" id="ctl00_m_g_554d7149_4d9f_4a96_a3f4_aa5936baef7b_ctl00_ctl04_ctl01_ctl00_ctl00_ctl04_ctl00_ctl00_lThisList" />
       <input name="ctl00$m$g_554d7149_4d9f_4a96_a3f4_aa5936baef7b$ctl00$ctl04$ctl01$ctl00$ctl00$ctl04$ctl00$ctl00$lCoordinateFieldNameInForeignColumn" type="text" value="Geometri" id="ctl00_m_g_554d7149_4d9f_4a96_a3f4_aa5936baef7b_ctl00_ctl04_ctl01_ctl00_ctl00_ctl04_ctl00_ctl00_lCoordinateFieldNameInForeignColumn" />
an>
    <div id="Div1">
  <object data="data:application/x-silverlight,2" type="application/x-silverlight-2" width="500px" height="300px">
    <param name="source" value="ClientBin/SMIL.Client.Coordinate.xap"/>
    <param name="onerror" value="onSilverlightError" />
    <param name="background" value="azure" />
    <param name="minRuntimeVersion" value="2.0.31005.0" />
    <param name="autoUpgrade" value="true" />
    <param name="initParams" value="SMIL.BingMap.CredentialsKey=AuQ2kqDNtkNtNd0FU1nPWQFPBo14nJiZ3VkaukVwnzB9DGy6lCrfSSX6cHAEjxHE" />
    <a href="http://go.microsoft.com/fwlink/?LinkID=124807" style="text-decoration: none;">
        <img src="http://go.microsoft.com/fwlink/?LinkId=108181" alt="Get Microsoft Silverlight" style="border-style: none"/>
    </a>
  </object>
</div>

 <%--<span style="visibility:visible">
        <span id="ctl00_m_g_554d7149_4d9f_4a96_a3f4_aa5936baef7b_ctl00_ctl04_ctl01_ctl00_ctl00_ctl04_ctl00_ctl00_lCoordinate"></span>--%>
        <%--<input type="text" name="ctl00$m$g_34776f78_2e4e_4c4f_a337_9168b38e52fb$ctl00$ctl04$ctl01$ctl00$ctl00$ctl05$ctl00$ctl00$lCoordinate" value="" id="ctl00_m_g_34776f78_2e4e_4c4f_a337_9168b38e52fb_ctl00_ctl04_ctl01_ctl00_ctl00_ctl05_ctl00_ctl00_lCoordinate"/>
     --%>
        <%--<input name="ctl00$m$g_554d7149_4d9f_4a96_a3f4_aa5936baef7b$ctl00$ctl04$ctl01$ctl00$ctl00$ctl04$ctl00$ctl00$TextField" type="text" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?>&lt;StyledGeometrys>&lt;StyledGeometry>&lt;Style id=&quot;default&quot;>&lt;IconStyle>&lt;scale>1&lt;/scale>&lt;Icon>&lt;href>&lt;/href>&lt;/Icon>&lt;/IconStyle>&lt;LineStyle>&lt;color>FFFF0000&lt;/color>&lt;width>2&lt;/width>&lt;/LineStyle>&lt;PolyStyle>&lt;color>CCAAAAAA&lt;/color>&lt;fill>1&lt;/fill>&lt;outline>1&lt;/outline>&lt;LineStyle>&lt;color>FFFF0000&lt;/color>&lt;width>2&lt;/width>&lt;/LineStyle>&lt;/PolyStyle>&lt;/Style>&lt;Geometry>POLYGON((15.657609288059746 62.556809333521528,15.459855381809746 62.462991521860886,15.602677647434746 62.4121561723654,15.844376866184746 62.435042773441268,15.954240147434746 62.516275696515116,15.860856358372246 62.5795852679328,15.657609288059746 62.556809333521528))&lt;/Geometry>&lt;/StyledGeometry>&lt;/StyledGeometrys>" id="ctl00_m_g_554d7149_4d9f_4a96_a3f4_aa5936baef7b_ctl00_ctl04_ctl01_ctl00_ctl00_ctl04_ctl00_ctl00_TextField" title="plats" class="ms-long" />
        <input name="ctl00$m$g_554d7149_4d9f_4a96_a3f4_aa5936baef7b$ctl00$ctl04$ctl01$ctl00$ctl00$ctl04$ctl00$ctl00$lSCAStatus" type="text" value="Avtal" id="ctl00_m_g_554d7149_4d9f_4a96_a3f4_aa5936baef7b_ctl00_ctl04_ctl01_ctl00_ctl00_ctl04_ctl00_ctl00_lSCAStatus" />
        <input name="ctl00$m$g_31e3211d_b8a7_49e5_86eb_775bbf1075ea$ctl00$ctl04$ctl01$ctl00$ctl00$ctl04$ctl00$ctl00$lSMILSite" type="text" value="http://localhost" id="ctl00_m_g_31e3211d_b8a7_49e5_86eb_775bbf1075ea_ctl00_ctl04_ctl01_ctl00_ctl00_ctl04_ctl00_ctl00_lSMILSite" />
    </span>
    <div id="silverlightControlHost">
  <object data="data:application/x-silverlight,2" type="application/x-silverlight-2" width="800px" height="800px">
    <param name="source" value="ClientBin/SMIL.Client.Coordinate.xap"/>
    <param name="onerror" value="onSilverlightError" />
    <param name="background" value="azure" />
    <param name="minRuntimeVersion" value="2.0.31005.0" />
    <param name="autoUpgrade" value="true" />
    <param name="initParams" value="SMIL.BingMap.CredentialsKey=AuQ2kqDNtkNtNd0FU1nPWQFPBo14nJiZ3VkaukVwnzB9DGy6lCrfSSX6cHAEjxHE" />
    <a href="http://go.microsoft.com/fwlink/?LinkID=124807" style="text-decoration: none;">
        <img src="http://go.microsoft.com/fwlink/?LinkId=108181" alt="Get Microsoft Silverlight" style="border-style: none"/>
    </a>
  </object>
</div>--%>
	    
	    
    </form>
</body>
</html>
